#ifndef __NEIGHBOR_H__
#define __NEIGHBOR_H__
#include <net/iw_handler.h>
#include "rt_config.h"
#include "rtmp.h"


struct Node_info{
    u_int8_t macaddr[6];
    int rssi;
	u_int8_t ttl;	 
};

struct Neighbors{
	struct Node_info node_list[256];
	u_int8_t number;
};

extern struct Neighbors neighbors;
extern struct timer_list neighbors_timer;

int Get_neighbour_info(void* buff);

INT Adhoc_add_neighbour(IN CHAR mac[],IN INT rssi);
void Adhoc_del_neighbour(unsigned long arg);

#endif /* __NEIGHBOR_H__ */
